package com.ticket.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ticket.common.annotation.Excel;
import com.ticket.common.core.domain.BaseEntity;
import org.springframework.data.annotation.Transient;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;

/**
 * 演出计划对象 t_yanchu_plan
 * 
 * @date 2023-04-06
 */
public class YanchuPlan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 演出时间 */
    @Excel(name = "演出日期")
    @NotBlank(message = "演出日期不能为空")
    private String timePlan;

    @Excel(name = "演出时间")
    private String timeStartPlan;

    /** 结束时间 */
    @Excel(name = "结束日期")
    private String endPlan;

    @Excel(name = "结束时间")
    private String endTime;

    /** 演出地址 */
    @Excel(name = "演出地址")
    private String addressYanchu;

    /** 演出内容 */
    @Excel(name = "演出内容")
    private String contentYanchu;

    /** 场次 */
    @Excel(name = "场次")
    private BigDecimal changciYanchu;

    /** 采购单位 */
    @Excel(name = "采购单位")
    private String danweiCaigou;

    /** 部门 */
    @Excel(name = "部门")
    private Long deptId;

    /** $column.columnComment */
    private Long createUser;

    /** 演出年 */
    private String yearYanchu;

    /** 演出月 */
    private String monthYanchu;


    private Integer state;
    @Transient
    private String deptName;
    @Excel(name = "海报")
    private String poster;
    @Transient
    private Integer exceed;

    public String getPoster() {
        return poster;
    }

    public void setPoster(String poster) {
        this.poster = poster;
    }

    public Integer getExceed() {
        return exceed;
    }

    public void setExceed(Integer exceed) {
        this.exceed = exceed;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String demo;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTimePlan(String timePlan) 
    {
        this.timePlan = timePlan;
    }

    public String getTimePlan() 
    {
        return timePlan;
    }
    public void setAddressYanchu(String addressYanchu) 
    {
        this.addressYanchu = addressYanchu;
    }

    public String getAddressYanchu() 
    {
        return addressYanchu;
    }
    public void setContentYanchu(String contentYanchu) 
    {
        this.contentYanchu = contentYanchu;
    }

    public String getContentYanchu() 
    {
        return contentYanchu;
    }
    public void setChangciYanchu(BigDecimal changciYanchu)
    {
        this.changciYanchu = changciYanchu;
    }

    public BigDecimal getChangciYanchu()
    {
        return changciYanchu;
    }
    public void setDanweiCaigou(String danweiCaigou) 
    {
        this.danweiCaigou = danweiCaigou;
    }

    public String getDanweiCaigou() 
    {
        return danweiCaigou;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setCreateUser(Long createUser) 
    {
        this.createUser = createUser;
    }

    public Long getCreateUser() 
    {
        return createUser;
    }
    public void setYearYanchu(String yearYanchu) 
    {
        this.yearYanchu = yearYanchu;
    }

    public String getYearYanchu() 
    {
        return yearYanchu;
    }
    public void setMonthYanchu(String monthYanchu) 
    {
        this.monthYanchu = monthYanchu;
    }

    public String getMonthYanchu() 
    {
        return monthYanchu;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
    public void setDemo(String demo) 
    {
        this.demo = demo;
    }

    public String getDemo() 
    {
        return demo;
    }

    public String getEndPlan() {
        return endPlan;
    }

    public void setEndPlan(String endPlan) {
        this.endPlan = endPlan;
    }

    public String getTimeStartPlan() {
        return timeStartPlan;
    }

    public void setTimeStartPlan(String timeStartPlan) {
        this.timeStartPlan = timeStartPlan;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("timePlan", getTimePlan())
            .append("addressYanchu", getAddressYanchu())
            .append("contentYanchu", getContentYanchu())
            .append("changciYanchu", getChangciYanchu())
            .append("danweiCaigou", getDanweiCaigou())
            .append("deptId", getDeptId())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .append("yearYanchu", getYearYanchu())
            .append("monthYanchu", getMonthYanchu())
            .append("state", getState())
            .append("updateTime", getUpdateTime())
            .append("demo", getDemo())
            .toString();
    }
}
